package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.BizInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BizInformationMapper {

    List<BizInformation> selectInformationList(BizInformation information);

    BizInformation selectInformationById(Long id);

    int insertInformation(BizInformation information);

    int updateInformation(BizInformation information);

    int deleteInformationById(Long id);

    int checkTitleAndIdunique(@Param("title") String title, @Param("id") Long id);
}
